
preserve
use  "${dataOut}PPR_Predictions" , clear

local varlist ///
PPR_Mean_K_Price ///
PPR_Mean_Trade_GDP_ROLH ///
PPR_Mean_K_Price_Trade_GDP_ROLH

foreach var in `varlist' {

gen `var'R=round(`var',.001)
sum `var'R, det
local min=r(min)
local P5=r(p5)
local P10=r(p10)
local P25=r(p25)
local P50=r(p50)
local P75=r(p75)
local max=r(max)

spmap `var'R using "${EEZBoundaries}EEZ_boundries_corr", id(_ID) ///
polygon(data("${EEZBoundaries}EEZ_boundries_corr") ) ///
clmethod(custom) clbreaks(`min' `P25'   `P50'  `P75'  `max' )  fcolor(dkgreen midgreen lime sandb)  ///
legend(size(medium)) legorder(lohi)  
//graph export "${figures}\Map_`var'.${fileformat}", as(${fileformat})  replace
}

restore


